import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import AppApplicationOauth2ClientResponse from '@/core/application/generated/types/model/response/AppApplicationOauth2ClientResponse'
import applicationAdminApiConfig from '@/core/application/generated/apiconfig/applicationAdminApiConfig'

const moduleApiConfig = applicationAdminApiConfig.appApplicationOauth2Client

class AppApplicationOauth2ClientAdminServerApi extends BaseAdminServerApi<string, AppApplicationOauth2ClientResponse> {}

const adminServerApi = new AppApplicationOauth2ClientAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
